package net.wanho.dao;

import net.wanho.entity.Course;
import net.wanho.vo.CourseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseDaoI {
    List<Course> selectByYear(int year);

    void insert(@Param("cname")String cname,@Param("profession")String profession,
                @Param("createYear")int createYear,@Param("tno")String tno);

    void insertCourse(Course course);

    List<Course> selectManyCon(Course course);
    List<Course> selectByYearRange(Course course);
    void updateCourse(Course course);

    List<Course> selectByCidSet(List<Integer>list);
    List<Course> selectByCidArray(Integer[] items);
    List<Course> selectByCourseInfo(CourseInfo courseInfo);


}
